scale: Rearrange child widgets
authorTimm Bäder <mail@baedert.org>
Fri, 26 Jun 2020 06:00:04 +0000 (08:00 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 27 Jun 2020 08:51:06 +0000 (10:51 +0200)
commit20935f678b2ae674cd818e51395ae5ca5511e72f
tree7cb656fad1f3b94f1eec9d23b81bf8e99d16d7b7
parentc41b4130c612105da5351cdd19e2023769d9942e
scale: Rearrange child widgets

Always keep the order:

 - [value]
 - [marks.top]
 - [marks.bottom]
 - trough

Which makes sense given the rendering order. Slider should be drawn
after the marks.

Makes it possible to simply remove the custom snapshot implementations
in scale and range. And Adwaita does not depend on the node order
anyway.
gtk/gtkrange.c
gtk/gtkscale.c
testsuite/css/nodes/scale.nodes